-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server: Special mode with empty listen_host : try listen v4 and v6 #730
Conversation
…thout fatal error if protocol not supported (for docker and freebsd)
will auto-reformat after merge |
dbms/src/Server/Server.cpp
Outdated
@@ -547,8 +549,18 @@ int Server::main(const std::vector<std::string> & args) | |||
|
|||
LOG_INFO(log, "Listening interserver: " + interserver_address.toString()); | |||
} | |||
|
|||
} catch (const std::exception & e) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to catch only relevant exceptions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
You need to check exception code. |
without fatal error if protocol not supported (for docker and freebsd)